package com.caishi.lkx.user.service;

import com.caishi.lkx.user.model.DepartmentModel;
import com.zzw.common.entity.BaseService;
import com.zzw.common.service.NameService;
import com.zzw.common.service.service.ITreeModelService;
import com.zzw.common.service.service.SortService;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author by keray
 * date:2021/4/28 3:18 下午
 */
public interface IDepartmentService extends BaseService<DepartmentModel, Long>, SortService<DepartmentModel>, NameService<DepartmentModel, Long>, ITreeModelService<DepartmentModel, Long> {

    /**excel上传 组织
     * @param file excel 文件
     * @param groupId 机构id
     * @return
     */
    Boolean importDepartment(MultipartFile file, Long groupId,String userId) throws IOException;
}
